package com.jindy.module.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 客户跟进对象 t_customer_follow
 *
 * @author ruoyi
 * @date 2022-09-20
 */
@Data
public class CustomerFollow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private Long customerId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customerName;

    /**
     * 跟进方式
     */
    @Excel(name = "跟进方式")
    private String followMethod;

    /**
     * 跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "跟进时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date followTime;

    /**
     * 跟进人id
     */
    @Excel(name = "跟进人id")
    private String followUserId;

    /**
     * 跟进人名称
     */
    @Excel(name = "跟进人名称")
    private String followUserName;
    /**
     * 跟进内容
     */
    @Excel(name = "跟进内容")
    private String followContent;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String image;

    /**
     * 附件
     */
    @Excel(name = "附件")
    private String enclosure;

    /**
     * 位置
     */
    @Excel(name = "位置")
    private String position;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 创建者id
     */
    @Excel(name = "创建者id")
    private Long createId;

    /**
     * 下次跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次跟进时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nextFollowTime;

    /**
     * 查看权限（用户id)
     */
    private Long userId;

}
